package com.yuyunbo.es.restclient.vo;

import java.util.List;

public class EsScrollQueryResponse<T> {

    private List<T> dataList;

    private int totalCount;

    private String scrollId;

    public EsScrollQueryResponse(List<T> dataList, int totalCount, String scrollId) {
        this.dataList = dataList;
        this.totalCount = totalCount;
        this.scrollId = scrollId;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }

    public String getScrollId() {
        return scrollId;
    }

    public void setScrollId(String scrollId) {
        this.scrollId = scrollId;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }
}